package com.bill99.rpc.config;

/**
 * @author sheng.zhang
 */
public class ReferenceConfig extends AbstractConfig {

	private static final long serialVersionUID = 1L;

	// 是否失败转移
	protected boolean failover = true;
	// 负载均衡算法
	protected String lbmethod = "roundrobin";

	public boolean isFailover() {
		return failover;
	}

	public String getLbmethod() {
		return lbmethod;
	}

	public void setFailover(boolean failover) {
		this.failover = failover;
	}

	public void setLbmethod(String lbmethod) {
		this.lbmethod = lbmethod;
	}

}